<?php
header('Content-Type: plain/text'); 
header("Content-Disposition: attachment; filename=".$_POST['fileName'].".txt");
header('Content-Transfer-Encoding: ascii');
header("Pragma: no-cache");
header("Expires: 0");

/**
 * @author CSS
 * @copyright 2008
 */
include_once "../db/db.php";

createExportFile($_POST['semester'], $_POST['year']);
?>